/*
 * uc_led.h
 *
 *  Created on: Feb 8, 2013
 *      Author: bfakhri
 */

#ifndef UC_LED_H_
#define UC_LED_H_


#endif /* UC_LED_H_ */

//Calls uc_led_o () four times to turn all LED's off.
void uc_led_all_off(); 

//Calls uc_led_on() four times to turn all LED's on.
void uc_led_all_on(); 

//Calls uc_led_toggle() four times to toggle all LED's.
void uc_led_all_toggle(); 


//Calls gpio_port_tc_init() four times to initialize the pin that each LED is connected to.
void uc_led_init(); 

//Calls gpio_port_tc_set_pin_state() to set the state of the pin for LED p_led to turn the
//LED off.
void uc_led_off (int p_led); 

//Calls gpio_port_tc_set_pin_state() to set the state of the pin for LED p_led to turn the
//LED on.
void uc_led_on(int p_led); 

//Calls gpio_port_tc_get_pin_state() to determine if LED p_led is on or off. It it is on, turn
//it off or if it is off, turn it on.
void uc_led_toggle(int p_led); 
